/*
 * author: VDaras
 */

#ifndef SCREEN_H
#define	SCREEN_H

#include "Surface.h"

/*
 * Class representing the game's screen. The classe's main design constraint is
 * that it's buffer should never be NULL.
 */

namespace sdl
{

class Screen : public Surface
{
private:
    bool m_isFullscreen;
    bool m_openGL;

public:
    Screen(int screenW, int screenH, int bpp, bool fullscreen = false,bool opengl = false);
    ~Screen();
    bool Render();
    void Clear();
    bool Flip();
    
private:
    bool init(int screenW, int screenH, int bpp, bool fullscreen , bool opengl);
};

};

#endif	/* SCREEN_H */

